﻿ 

<link href="~/EasyUI/themes/icon.css" rel="stylesheet" />
<link href="~/EasyUI/themes/default/easyui.css" rel="stylesheet" />
<script type="text/javascript" src="~/EasyUI/jquery.easyui.min.js"></script>
<input type="hidden" value="@ViewBag.roleId" id="roleId" />
@*1.循环所有父菜单，为每个父菜单生成一棵树*@
<div style="margin:20px 0;"></div>

<div class="easyui-panel" style="padding:5px;width:100%;height:100%">
  
        <ul id="tt" class="easyui-tree" data-options="url:'GetTreeJson?roleid=@ViewBag.roleId',method:'get',animate:true,checkbox:true"></ul>
  
</div>


<script type="text/javascript">
    $(function () {
        $('#editWindow').window('close');
    })

</script>